﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace 临时测试的项目
{
    class Program
    {
        static void Main(string[] args)
        {
            string ids = "";
            List<long> list = new List<long>();
            list = ids.Split(',')
                .Select(s => long.TryParse(s, out var l) ? l : (long?)null)
                .Where(n => n.HasValue)
                .Select(n => n.Value).ToList();


            Console.WriteLine("Hello World!");
        }
    }
}
